package cn.uniqueinfo.dp.vo;

import lombok.Data;
/**
 * @author:朱元勋
 * @mail:395910063@qq.com
 * @date:2019-01-23 14:48:18
 * @description:业务单据权限点
 */
@Data
public class PermissionVO extends BaseVO {
    /** 业务表单名称 */
    private String formName;
    /** 操作如add,edit */
    private String formOperation;

    private Long rolePermissionId;

    private Boolean checked;

    public Boolean getChecked() {
        if (rolePermissionId == null || rolePermissionId <= 0) {
            return false;
        } else {
            return true;
        }
    }
}
